<?php /* Smarty version Smarty-3.1.18, created on 2015-03-20 15:32:22
         compiled from "/data/www/mystery/protected/views/benchmark/detail.tpl" */ ?>
<?php /*%%SmartyHeaderCode:441217154c840cc0610f2-04101038%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c0cbb8f8ab5956b22ad2f7dd9987f602dda8d410' => 
    array (
      0 => '/data/www/mystery/protected/views/benchmark/detail.tpl',
      1 => 1426736457,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '441217154c840cc0610f2-04101038',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54c840cc0d1131_37848153',
  'variables' => 
  array (
    'list' => 0,
    'val' => 0,
    'level' => 0,
    'network_id' => 0,
    'managelist' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54c840cc0d1131_37848153')) {function content_54c840cc0d1131_37848153($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("../common/iframe_head.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<table class="gridtable table  table-bordered">
    <tr><th>操作用户</th><th>等级</th><th>还分情况</th><th>申诉意见</th><th>对标时间</th><th>附件</th><th>操作</th></tr>
    <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
    <tr id="qb_<?php echo $_smarty_tpl->tpl_vars['val']->value['qb_id'];?>
">
        <td><?php echo $_smarty_tpl->tpl_vars['val']->value['network_name'];?>
</td>
        <td><?php if ($_smarty_tpl->tpl_vars['level']->value[$_smarty_tpl->tpl_vars['val']->value['level']]) {?><?php echo $_smarty_tpl->tpl_vars['level']->value[$_smarty_tpl->tpl_vars['val']->value['level']]['desc'];?>
<?php } else { ?><?php }?></td>
        <td><?php if ($_smarty_tpl->tpl_vars['val']->value['isreturn']==1) {?>申请还分<?php } elseif ($_smarty_tpl->tpl_vars['val']->value['isreturn']==0) {?>不申请<?php } elseif ($_smarty_tpl->tpl_vars['val']->value['isreturn']==2) {?>已还分<?php } else { ?>未知<?php }?></td>
        <td><?php echo $_smarty_tpl->tpl_vars['val']->value['suggestion'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['val']->value['create_time'];?>
</td>
        <td><?php if ($_smarty_tpl->tpl_vars['val']->value['haveattach']) {?><a href="/benchmark/DuibiaoAttach?nq_id=<?php echo $_smarty_tpl->tpl_vars['val']->value['nq_id'];?>
&subject_id=<?php echo $_smarty_tpl->tpl_vars['val']->value['subject_id'];?>
&network_id=<?php echo $_smarty_tpl->tpl_vars['val']->value['network_id'];?>
" target="_blank">附件</a><?php }?></td>
        <td><?php if ($_smarty_tpl->tpl_vars['network_id']->value==$_smarty_tpl->tpl_vars['val']->value['network_id']) {?><a href="javascript:;" onclick="edit_duibiao(<?php echo $_smarty_tpl->tpl_vars['val']->value['qb_id'];?>
);">修改</a> | <a href="javascript:;" oclick="del(<?php echo $_smarty_tpl->tpl_vars['val']->value['qb_id'];?>
)">删除</a><?php }?></td>
    </tr>
    <!-- 后台审核列表-->
    <?php if ($_smarty_tpl->tpl_vars['managelist']->value[$_smarty_tpl->tpl_vars['val']->value['qb_id']]) {?>
    <tr style="background: #529EC6;">
        <td><b>后台审核意见↑</b></td>
        <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['managelist']->value[$_smarty_tpl->tpl_vars['val']->value['qb_id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
        <td><?php echo $_smarty_tpl->tpl_vars['v']->value['truename'];?>
</td>
        <td><?php if ($_smarty_tpl->tpl_vars['v']->value['isreturn']>=1) {?>还<?php echo $_smarty_tpl->tpl_vars['v']->value['isreturn'];?>
分<?php } else { ?>不还分<?php }?></td>
        <td><?php if ($_smarty_tpl->tpl_vars['v']->value['status']==1) {?>无异议<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['status']==2) {?>有异议<?php }?></td>
        <td  colspan='3'><?php echo $_smarty_tpl->tpl_vars['v']->value['suggestion'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['v']->value['create_time'];?>
</td>
        <?php } ?>
        </tr>
    <?php }?>
    <?php } ?>
</table>
<script>
//删除
function del(qb_id){
    $.getJSON('/benchmark/DelAudit',{qb_id:qb_id},function(res){
        if (res.status==1) {
            $('#qb_'+qb_id).remove();
        }
        alert(res.note);
    });
}
</script>
<?php echo $_smarty_tpl->getSubTemplate ("../common/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
